.class Lcom/estrongs/android/pop/app/leftnavigation/i0$b;
.super Landroid/os/Handler;
.source "NavigationList.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/leftnavigation/i0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "b"
.end annotation


# instance fields
.field private a:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lcom/estrongs/android/ui/view/NaviListView;",
            ">;"
        }
    .end annotation
.end field

.field private b:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lcom/estrongs/android/pop/view/FileExplorerActivity;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method private constructor <init>(Lcom/estrongs/android/ui/view/NaviListView;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 1

    .line 2
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    .line 3
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/i0$b;->a:Ljava/lang/ref/WeakReference;

    .line 4
    new-instance p1, Ljava/lang/ref/WeakReference;

    invoke-direct {p1, p2}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/i0$b;->b:Ljava/lang/ref/WeakReference;

    return-void
.end method

.method synthetic constructor <init>(Lcom/estrongs/android/ui/view/NaviListView;Lcom/estrongs/android/pop/view/FileExplorerActivity;Lcom/estrongs/android/pop/app/leftnavigation/i0$a;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/leftnavigation/i0$b;-><init>(Lcom/estrongs/android/ui/view/NaviListView;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    return-void
.end method

.method static synthetic a(Les/pm;Lcom/estrongs/android/pop/view/FileExplorerActivity;Landroid/view/View;)V
    .locals 3

    .line 1
    :try_start_0
    invoke-virtual {p0}, Les/pm;->d()Ljava/lang/String;

    move-result-object p2

    const-string v0, "#home#"

    .line 2
    invoke-virtual {p0}, Les/pm;->d()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p0

    const-string p2, "Web"

    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/l;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 4
    :cond_0
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->s1(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_1

    .line 5
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto/16 :goto_4

    .line 6
    :cond_1
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result p0

    const/4 v0, 0x0

    if-eqz p0, :cond_6

    const-string p0, "pcs://"

    .line 7
    invoke-virtual {p2, p0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_2

    .line 8
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto/16 :goto_4

    .line 9
    :cond_2
    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object p0

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->b0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/estrongs/fs/f;->n(Ljava/lang/String;)Ljava/util/List;

    move-result-object p0

    if-eqz p0, :cond_4

    const/4 v1, 0x0

    .line 10
    :goto_0
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_4

    .line 11
    invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->g(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 12
    invoke-virtual {p2, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 13
    invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/estrongs/fs/g;

    invoke-interface {p0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Lcom/estrongs/android/util/h0;->N(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 14
    invoke-static {p2, p0}, Lcom/estrongs/android/util/h0;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    goto :goto_1

    :cond_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 15
    :cond_4
    :goto_1
    invoke-static {p1}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object p0

    invoke-virtual {p0, p2}, Lcom/estrongs/fs/f;->l(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_5

    .line 16
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_2

    .line 17
    :cond_5
    invoke-virtual {p1, v0, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b(Ljava/lang/String;Ljava/lang/String;)V

    :goto_2
    const-string p0, "bt://"

    .line 18
    invoke-virtual {p0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_c

    .line 19
    invoke-static {}, Les/yt;->m()Les/yt;

    move-result-object p0

    invoke-virtual {p0}, Les/yt;->h()V

    goto :goto_4

    .line 20
    :cond_6
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->N1(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_7

    .line 21
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_4

    .line 22
    :cond_7
    invoke-static {p1}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object p0

    invoke-virtual {p0, p2}, Lcom/estrongs/fs/f;->c(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_a

    .line 23
    invoke-static {p1}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object p0

    invoke-virtual {p0, p2}, Lcom/estrongs/fs/f;->l(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_9

    .line 24
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->D1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_9

    .line 25
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->Q1(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_9

    .line 26
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->z2(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_9

    .line 27
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->A0(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_8

    goto :goto_3

    .line 28
    :cond_8
    invoke-virtual {p1, v0, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    .line 29
    :cond_9
    :goto_3
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_4

    :cond_a
    const-string p0, "#home_page#"

    .line 30
    invoke-virtual {p0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_b

    .line 31
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_4

    :cond_b
    const p0, 0x7f110660

    .line 32
    invoke-virtual {p1, p0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k(I)V
    :try_end_0
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_4

    :catch_0
    move-exception p0

    .line 33
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_c
    :goto_4
    return-void
.end method

.method static synthetic b(Les/pm;Lcom/estrongs/android/pop/view/FileExplorerActivity;Landroid/view/View;)V
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/pm;->d()Ljava/lang/String;

    move-result-object p2

    .line 2
    invoke-virtual {p0}, Les/pm;->d()Ljava/lang/String;

    move-result-object p0

    const-string v0, "#home#"

    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p0

    const-string p2, "Web"

    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/l;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 4
    :cond_0
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-virtual {p1, p0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->i(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    .line 1
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 2
    iget v0, p1, Landroid/os/Message;->what:I

    .line 3
    iget v1, p1, Landroid/os/Message;->arg1:I

    .line 4
    iget p1, p1, Landroid/os/Message;->arg2:I

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/pop/app/leftnavigation/i0$b;->b:Ljava/lang/ref/WeakReference;

    if-nez v2, :cond_0

    return-void

    .line 6
    :cond_0
    iget-object v3, p0, Lcom/estrongs/android/pop/app/leftnavigation/i0$b;->a:Ljava/lang/ref/WeakReference;

    if-nez v3, :cond_1

    return-void

    .line 7
    :cond_1
    invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-nez v2, :cond_2

    return-void

    .line 8
    :cond_2
    iget-object v3, p0, Lcom/estrongs/android/pop/app/leftnavigation/i0$b;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v3}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/ui/view/NaviListView;

    if-nez v3, :cond_3

    return-void

    :cond_3
    const/16 v4, 0x68

    if-ne v0, v4, :cond_5

    .line 9
    invoke-virtual {v3}, Landroid/widget/ExpandableListView;->getExpandableListAdapter()Landroid/widget/ExpandableListAdapter;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/leftnavigation/f0;

    .line 10
    invoke-virtual {v0, v1, p1}, Lcom/estrongs/android/pop/app/leftnavigation/f0;->getChild(II)Les/pm;

    move-result-object p1

    if-nez p1, :cond_4

    return-void

    .line 11
    :cond_4
    invoke-virtual {v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->n0()V

    goto/16 :goto_2

    :cond_5
    const/16 v4, 0x69

    if-ne v0, v4, :cond_6

    .line 12
    invoke-virtual {v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->n0()V

    goto :goto_2

    :cond_6
    const/16 v4, 0x67

    if-ne v0, v4, :cond_b

    .line 13
    invoke-virtual {v3, v1}, Landroid/widget/ExpandableListView;->isGroupExpanded(I)Z

    move-result p1

    xor-int/lit8 p1, p1, 0x1

    const/4 v0, 0x0

    .line 14
    :goto_0
    invoke-virtual {v3}, Landroid/widget/ExpandableListView;->getExpandableListAdapter()Landroid/widget/ExpandableListAdapter;

    move-result-object v2

    invoke-interface {v2}, Landroid/widget/ExpandableListAdapter;->getGroupCount()I

    move-result v2

    if-ge v0, v2, :cond_a

    if-ne v0, v1, :cond_8

    if-eqz p1, :cond_7

    .line 15
    invoke-virtual {v3, v1}, Landroid/widget/ExpandableListView;->expandGroup(I)Z

    goto :goto_1

    .line 16
    :cond_7
    invoke-virtual {v3, v1}, Landroid/widget/ExpandableListView;->collapseGroup(I)Z

    goto :goto_1

    .line 17
    :cond_8
    invoke-virtual {v3, v0}, Landroid/widget/ExpandableListView;->isGroupExpanded(I)Z

    move-result v2

    if-eqz v2, :cond_9

    if-eqz p1, :cond_9

    .line 18
    invoke-virtual {v3, v0}, Landroid/widget/ExpandableListView;->collapseGroup(I)Z

    :cond_9
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 19
    :cond_a
    invoke-virtual {v3}, Lcom/estrongs/android/ui/view/NaviListView;->b()V

    goto :goto_2

    :cond_b
    const/16 v4, 0x66

    if-ne v0, v4, :cond_d

    .line 20
    invoke-virtual {v3}, Landroid/widget/ExpandableListView;->getExpandableListAdapter()Landroid/widget/ExpandableListAdapter;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/leftnavigation/f0;

    .line 21
    invoke-virtual {v0, v1, p1}, Lcom/estrongs/android/pop/app/leftnavigation/f0;->getChild(II)Les/pm;

    move-result-object p1

    if-nez p1, :cond_c

    return-void

    .line 22
    :cond_c
    new-instance v0, Lcom/estrongs/android/pop/app/leftnavigation/y;

    invoke-direct {v0, p1, v2}, Lcom/estrongs/android/pop/app/leftnavigation/y;-><init>(Les/pm;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    invoke-virtual {v2, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/pop/app/leftnavigation/h0$d;)V

    goto :goto_2

    :cond_d
    const/16 v4, 0x65

    if-ne v0, v4, :cond_f

    .line 23
    invoke-virtual {v3}, Landroid/widget/ExpandableListView;->getExpandableListAdapter()Landroid/widget/ExpandableListAdapter;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/leftnavigation/f0;

    .line 24
    invoke-virtual {v0, v1, p1}, Lcom/estrongs/android/pop/app/leftnavigation/f0;->getChild(II)Les/pm;

    move-result-object p1

    if-nez p1, :cond_e

    return-void

    .line 25
    :cond_e
    new-instance v0, Lcom/estrongs/android/pop/app/leftnavigation/x;

    invoke-direct {v0, p1, v2}, Lcom/estrongs/android/pop/app/leftnavigation/x;-><init>(Les/pm;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    invoke-virtual {v2, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/pop/app/leftnavigation/h0$d;)V

    :cond_f
    :goto_2
    return-void
.end method
